import java.util.Scanner;
public class Prices
{
   /**
      A method to determine and return the average price
   */
   public static double averagePrice(double[] priceData)
   {

      // your work here

      int len = priceData.length;
      double sum = 0;
      for(int i = 0; i<len; i++)
      {
         sum = sum + priceData[i];
      }
      sum = sum / len;
      return sum;

   }
}